8f28b4
@@ -1149,7 +1149,12 @@
public boolean isPathEncrypted(Path path) throws IOException {
       if(!"hdfs".equalsIgnoreCase(path.toUri().getScheme())) {
         return false;
       }
-      return (hdfsAdmin.getEncryptionZoneForPath(fullPath) != null);
+      try {
+        return (hdfsAdmin.getEncryptionZoneForPath(fullPath) != null);
+      } catch (FileNotFoundException fnfe) {
+        LOG.debug("Failed to get EZ for non-existent path: "+ fullPath, fnfe);
+        return false;
+      }
     }
 
     @Override
